# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure('2') do |config|
  config.vm.box = 'peru/ubuntu-18.04-server-amd64'

  config.vm.provision :ansible do |ansible|
    ansible.compatibility_mode = '2.0'
    ansible.playbook = 'playbooks/docker.yml'
    ansible.extra_vars = { ansible_python_interpreter: '/usr/bin/python3' }
  end

  config.vm.provider 'virtualbox' do |vb|
    vb.gui = false
  end
end
